package net.neptech.model.mdt;

import jakarta.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import net.neptech.utils.SnowflakeIdGenerator;
import org.hibernate.annotations.GenericGenerator;

/**
 * @Author Saya
 * @Date 2025/8/13 11:32
 * @Description TODO
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name = "mdt_meeting")
public class Meeting {
    @Id
    @Column(name = "meeting_id")
    @GenericGenerator(name = "snowflake", type = SnowflakeIdGenerator.class)
    @GeneratedValue(generator = "snowflake")
    private Long meetingId;
    @Column(name = "meeting_title")
    private String meetingTitle;
    @Column(name = "patient_id")
    private Long patientId;
    @Column(name = "description")
    private String description;
    @Column(name = "conclusion")
    private String conclusion;
    @Column(name = "approval_id")
    private Long approvalId;
}
